﻿using System;
using System.Collections.Generic;
using System.Text;

using System.Data;
using System.Data.OleDb;
using System.Data.Common;

namespace DataBaseManger
{
    public class AccessHelper:DataBaseHelper
    {
        private readonly string _ConnectionString;

        public AccessHelper(string ConnectionString)
        {
            this._ConnectionString = ConnectionString;
            _provideName = "System.Data.OleDb";
        }

        protected override DbConnection CreateConnection()
        {
            return new OleDbConnection(_ConnectionString);
        }
    }
}
